package com.liusand.service;

import com.liusand.pojo.Employee;
import com.liusand.pojo.PageInfo;
import com.liusand.vo.EmployeeVo;

/**
 * @author :liusha
 * packageName :com.liusand.reggiecode.db.service
 * fileName :AdminService
 * creationTime :2022/11/20 18:22
 */
public interface EmployeeService {
    EmployeeVo findByUsernameAndPassword(Employee employee);


    PageInfo<Employee> page(String name, Integer page, Integer pageSize);

    Employee findEmployeeById(String id);


    boolean saveEmployee(Employee employee);

    boolean updateEmployee(Employee employee);

}
